import * as types from '../types'

const mutations = {
  [types.LOGIN] (state, data) {
    state.logged = data
  },
  [types.LOGOUT] (state, data) {
    state.logged = ''
  },

}

export default mutations
